<template>
  <div class="back_top" @click="back_top_click">
    顶部
  </div>
</template>

<script>
export default {
  components: {},
  props: {},
  data() {
    return {
    };
  },
  watch: {},
  computed: {},
  methods: {
    back_top_click(){
      this.$emit("back_top",0,0,500)
    }
  },
  created() {},
  mounted() {}
};
</script>
<style scoped>
.back_top{
  width:40px;
  height: 40px;
  border-radius:50%;
  text-align:center;
  line-height: 40px;
  position:fixed;
  bottom:50px;
  right:8px;
  background-color:rgba(243, 156, 18,.3);
  font-size: 15px;
}
</style>